<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JSON Voorhees: jsonv::detail::basic_view&lt; TIterator, TConstIterator &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" async src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classjsonv_1_1detail_1_1basic__view.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classjsonv_1_1detail_1_1basic__view-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">jsonv::detail::basic_view&lt; TIterator, TConstIterator &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A view template used for array and object views of a <code>value</code>.  
 <a href="classjsonv_1_1detail_1_1basic__view.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="basic__view_8hpp_source.html">jsonv/detail/basic_view.hpp</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for jsonv::detail::basic_view&lt; TIterator, TConstIterator &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classjsonv_1_1detail_1_1basic__view.png" usemap="#jsonv::detail::basic_5Fview_3C_20TIterator_2C_20TConstIterator_20_3E_map" alt=""/>
  <map id="jsonv::detail::basic_5Fview_3C_20TIterator_2C_20TConstIterator_20_3E_map" name="jsonv::detail::basic_5Fview_3C_20TIterator_2C_20TConstIterator_20_3E_map">
<area href="classjsonv_1_1detail_1_1basic__owning__view.html" title="A form of basic_view that owns the object it is iterating over. " alt="jsonv::detail::basic_owning_view&lt; TContainer, TIterator, TConstIterator &gt;" shape="rect" coords="0,56,424,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa927e064d1c5f3a40dc7b87212522872"><td class="memItemLeft" align="right" valign="top"><a id="aa927e064d1c5f3a40dc7b87212522872"></a>
typedef TIterator&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
<tr class="separator:aa927e064d1c5f3a40dc7b87212522872"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb5430013851f448b69bf4b6450f7fcb"><td class="memItemLeft" align="right" valign="top"><a id="afb5430013851f448b69bf4b6450f7fcb"></a>
typedef TConstIterator&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b></td></tr>
<tr class="separator:afb5430013851f448b69bf4b6450f7fcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3287c366ba50a16edc75552a011d48ab"><td class="memItemLeft" align="right" valign="top"><a id="a3287c366ba50a16edc75552a011d48ab"></a>
typedef std::reverse_iterator&lt; iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>reverse_iterator</b></td></tr>
<tr class="separator:a3287c366ba50a16edc75552a011d48ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa028d75e44ecb138b9d60b48c3c3e383"><td class="memItemLeft" align="right" valign="top"><a id="aa028d75e44ecb138b9d60b48c3c3e383"></a>
typedef std::reverse_iterator&lt; const_iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>const_reverse_iterator</b></td></tr>
<tr class="separator:aa028d75e44ecb138b9d60b48c3c3e383"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae741d68a51d37185288462bb8527aa2a"><td class="memItemLeft" align="right" valign="top"><a id="ae741d68a51d37185288462bb8527aa2a"></a>
typedef std::iterator_traits&lt; iterator &gt;::value_type&#160;</td><td class="memItemRight" valign="bottom"><b>value_type</b></td></tr>
<tr class="separator:ae741d68a51d37185288462bb8527aa2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfc27c238250e8532c2d25ec3f8e0084"><td class="memItemLeft" align="right" valign="top"><a id="adfc27c238250e8532c2d25ec3f8e0084"></a>
typedef std::iterator_traits&lt; iterator &gt;::reference&#160;</td><td class="memItemRight" valign="bottom"><b>reference</b></td></tr>
<tr class="separator:adfc27c238250e8532c2d25ec3f8e0084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93e9b6e270fffab28f2821699377ac62"><td class="memItemLeft" align="right" valign="top"><a id="a93e9b6e270fffab28f2821699377ac62"></a>
typedef std::iterator_traits&lt; iterator &gt;::pointer&#160;</td><td class="memItemRight" valign="bottom"><b>pointer</b></td></tr>
<tr class="separator:a93e9b6e270fffab28f2821699377ac62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a066040a4b61043fe636f7151cea2b6d8"><td class="memItemLeft" align="right" valign="top"><a id="a066040a4b61043fe636f7151cea2b6d8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>basic_view</b> (iterator begin_, iterator end_)</td></tr>
<tr class="separator:a066040a4b61043fe636f7151cea2b6d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2722f887f71dafd130ddd3b270a10c72"><td class="memItemLeft" align="right" valign="top"><a id="a2722f887f71dafd130ddd3b270a10c72"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> ()</td></tr>
<tr class="separator:a2722f887f71dafd130ddd3b270a10c72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83fad59ec8cb4ae5b6d70e2932d9db2"><td class="memItemLeft" align="right" valign="top"><a id="aa83fad59ec8cb4ae5b6d70e2932d9db2"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> () const</td></tr>
<tr class="separator:aa83fad59ec8cb4ae5b6d70e2932d9db2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f21f148c2aa8de18460bf12508ee113"><td class="memItemLeft" align="right" valign="top"><a id="a5f21f148c2aa8de18460bf12508ee113"></a>
iterator&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> ()</td></tr>
<tr class="separator:a5f21f148c2aa8de18460bf12508ee113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94d587c8fb3421d976eda2f1ba360a0c"><td class="memItemLeft" align="right" valign="top"><a id="a94d587c8fb3421d976eda2f1ba360a0c"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> () const</td></tr>
<tr class="separator:a94d587c8fb3421d976eda2f1ba360a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea0c9ca4bb9304695208f457481e3f00"><td class="memItemLeft" align="right" valign="top"><a id="aea0c9ca4bb9304695208f457481e3f00"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cbegin</b> () const</td></tr>
<tr class="separator:aea0c9ca4bb9304695208f457481e3f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e3d3fa3a75541a9b1762fcf82394921"><td class="memItemLeft" align="right" valign="top"><a id="a5e3d3fa3a75541a9b1762fcf82394921"></a>
const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>cend</b> () const</td></tr>
<tr class="separator:a5e3d3fa3a75541a9b1762fcf82394921"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b4a92c3f680ec91a526e7d0f421c7ef"><td class="memItemLeft" align="right" valign="top"><a id="a7b4a92c3f680ec91a526e7d0f421c7ef"></a>
reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rbegin</b> ()</td></tr>
<tr class="separator:a7b4a92c3f680ec91a526e7d0f421c7ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1f218dcd55410fca57a3dd2335002b9"><td class="memItemLeft" align="right" valign="top"><a id="aa1f218dcd55410fca57a3dd2335002b9"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rbegin</b> () const</td></tr>
<tr class="separator:aa1f218dcd55410fca57a3dd2335002b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a232b2e0576f23a0902f0bed4c074486b"><td class="memItemLeft" align="right" valign="top"><a id="a232b2e0576f23a0902f0bed4c074486b"></a>
reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rend</b> ()</td></tr>
<tr class="separator:a232b2e0576f23a0902f0bed4c074486b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a788c7a8ddaadf540a491976bbd459a94"><td class="memItemLeft" align="right" valign="top"><a id="a788c7a8ddaadf540a491976bbd459a94"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>rend</b> () const</td></tr>
<tr class="separator:a788c7a8ddaadf540a491976bbd459a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe3e0fdde81c8c4d7cfee590a65d1cfe"><td class="memItemLeft" align="right" valign="top"><a id="abe3e0fdde81c8c4d7cfee590a65d1cfe"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>crbegin</b> () const</td></tr>
<tr class="separator:abe3e0fdde81c8c4d7cfee590a65d1cfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade92c19f38f38ae20d3f7ff953a4ed3e"><td class="memItemLeft" align="right" valign="top"><a id="ade92c19f38f38ae20d3f7ff953a4ed3e"></a>
const_reverse_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>crend</b> () const</td></tr>
<tr class="separator:ade92c19f38f38ae20d3f7ff953a4ed3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename TIterator, typename TConstIterator = TIterator&gt;<br />
class jsonv::detail::basic_view&lt; TIterator, TConstIterator &gt;</h3>

<p>A view template used for array and object views of a <code>value</code>. </p>
<p>This class allows traversing a <code>value</code> with a range based for loop.</p>
<dl class="section note"><dt>Note</dt><dd>A view does nothing to preserve the lifetime of the underlying container, nor does it remain valid if the container is modified. </dd></dl>

<p class="definition">Definition at line <a class="el" href="basic__view_8hpp_source.html#l00034">34</a> of file <a class="el" href="basic__view_8hpp_source.html">basic_view.hpp</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>jsonv/detail/<a class="el" href="basic__view_8hpp_source.html">basic_view.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>jsonv</b></li><li class="navelem"><b>detail</b></li><li class="navelem"><a class="el" href="classjsonv_1_1detail_1_1basic__view.html">basic_view</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
